var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var commentSchema = new Schema({
    'openid': String,
    'dg_id': String,
    "avatarUrl": String,
    "nickName": String,
    "content":String,
    "time":String,
    "userInfo":String
});
module.exports = mongoose.model('comments', commentSchema);